package vip.wangwenhao.vo;

import java.util.List;

/**
*  
*
* @author wwh
* @date 2020年01月08日 13:32
* 
*/
    
public class IndexInfo {

    private String indexName;

    private Boolean isUnique;

    private List<ColumnInfo> columnInfos;

    private List<String> columnNames;

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public Boolean getUnique() {
        return isUnique;
    }

    public void setUnique(Boolean unique) {
        isUnique = unique;
    }

    public List<ColumnInfo> getColumnInfos() {
        return columnInfos;
    }

    public void setColumnInfos(List<ColumnInfo> columnInfos) {
        this.columnInfos = columnInfos;
    }

    public List<String> getColumnNames() {
        return columnNames;
    }

    public void setColumnNames(List<String> columnNames) {
        this.columnNames = columnNames;
    }

    @Override
    public String toString() {
        return "IndexInfo{" +
                "indexName='" + indexName + '\'' +
                ", isUnique=" + isUnique +
                ", columnInfos=" + columnInfos +
                ", columnNames=" + columnNames +
                '}';
    }
}